In the following example the Boolean and Kleenean elements are respectively unary and binary relations on a set X. This is the motivating example of a dynamic algebra, and corresponds to Example 1 of a Boolean monoid, as well as to our notion of a Kleenean algebra of relations.
Example 1. Let Kri X = (,,) consist of the Boolean algebra = (2X,∨, 0,∧, 1,¬) of unary relations on X, and the Kleenean algebra = (2X2, + , 0,;,*,) of binary relations on X, with symbols interpreted as for Rel X, and such that star is reflexive transitive closure, a > p = {x | ∃y[xay∧p(y)]}. This example may be extended to a dynamic algebra with test by adjoining the operation p? = {(x, x)| p(x)}.
A Kripke structure on X is any subalgebra of Kri X. The Boolean elements of a Kripke structure are unary relations and the Kleenean binary. It may be verified that Kripke structures satisfy all the equations, those for star and converse being the most challenging. A representable dynamic algebra (RDA) is a dynamic algebra isomorphic to a Kripke structure. These form the class RDA.
Proof: It suffices to show that the direct product of a family
(Kri Xi) of Kripke structures is an RDA. Its Boolean
component is the power set of Xi, the disjoint union of the
Xi's. Its Kleenean component is isomorphic to the power set of the
equivalence relation on Xi definable as
Xi2, relating
just those pairs of elements from the same Xi. height6pt width4pt depth0pt
Proof: Every Kri X is separable. RDA is the ISP
closure of the Kri X while IDA is the ISP closure of SDA. height6pt width4pt depth0pt
It follows from a result of Kozen [Koz81] that the converse does not hold.
In the next example the Boolean and Kleenean elements are languages as sets of strings over a common alphabet X. For languages we must omit converse and test, but see the section on ``model robustness'' for an approximation to Lan X containing converse.
Example 2. Let Lan X = (,,) consist of the Boolean algebra = (2Xω, + ,∅,∼) of infinitary languages (sets of infinite-to-the-right strings on X), and the Kleenean algebra = (2X*, 0, + ,;,*) of all sets of finite strings, with operations (omitting converse) having their usual meaning for languages [Kle56,HU79]. Take a > p to be the concatenation of languages a and p. We now have a dynamic algebra without converse.
All axioms save (D5b) (right hand inequality of (D5)) are easily verified. For (D5b), given any string s∈a* > p find the least n such that s = a1…ant for strings ai∈a and t∈p. If n = 0 then s = t and s∈p. Otherwise ai…ant p for 1≤i≤n or we could find a smaller n. In particular ant p whence ant∈a > p - p, so s∈a* > (a > p - p).
From any nonempty infinitary language L not containing the symbol 0 we may construct the language p = 0L as a universal separator. If s is in a but not b then s0L is a nonempty subset of a > p but is disjoint from b > p. This makes Lan X separable.